Store popup parents separately from transient-for
parents, since these are separate concepts with
different behaviors. And we need the parent in
the frontend, so we can use it in the fallback
move-to-rect implementation.
g_object_unref (frame_clock);
surface->surface_type = surface_type;
+ surface->parent = parent;
surface->x = x;
surface->y = y;
surface->width = width;
GdkDisplay *display;
- GdkSurface *transient_for;
+ GdkSurface *transient_for; /* for toplevels */
+ GdkSurface *parent; /* for popups */
gpointer widget;
}
surface->surface_type = surface_type;
+ surface->parent = parent;
surface->x = x;
surface->y = y;
surface->width = width;
g_object_unref (frame_clock);
surface->surface_type = surface_type;
+ surface->parent = parent;
surface->x = x;
surface->y = y;
surface->width = width;